package com.flurry.android.caching;

import java.util.Vector;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;

public class ObjectData
{
  ObjectData.ExecutorType iW = ObjectData.ExecutorType.NONE;
  private int iX = 31;
  protected String mCollectionName = "";
  protected String mId = "";
  protected Vector<NameValuePair> mKeyValueList = new Vector();

  public ObjectData(String paramString)
  {
    this.mId = paramString;
    this.iW = ObjectData.ExecutorType.USER;
  }

  public ObjectData(String paramString1, String paramString2)
  {
    this.mId = paramString1;
    this.mCollectionName = paramString2;
    this.iW = ObjectData.ExecutorType.OBJECT;
  }

  public void addKeyValue(String paramString1, String paramString2)
  {
    this.mKeyValueList.add(new BasicNameValuePair(paramString1, paramString2));
  }

  public boolean equals(Object paramObject)
  {
    if (paramObject == this);
    ObjectOperationData localObjectOperationData;
    do
    {
      return true;
      if (paramObject == null)
        return false;
      if (getClass() != paramObject.getClass())
        return false;
      localObjectOperationData = (ObjectOperationData)paramObject;
    }
    while ((localObjectOperationData.mId.equals(this.mId)) && (localObjectOperationData.mCollectionName.equals(this.mCollectionName)) && (localObjectOperationData.mKeyValueList.equals(this.mKeyValueList)));
    return false;
  }

  public String getCollectionName()
  {
    return this.mCollectionName;
  }

  public String getId()
  {
    return this.mId;
  }

  public Vector<NameValuePair> getKeyValues()
  {
    return this.mKeyValueList;
  }

  public int getKeyValuesListSize()
  {
    return this.mKeyValueList.size();
  }

  public int hashCode()
  {
    return ((this.iX * this.iX + this.mId.hashCode()) * this.iX + this.mCollectionName.hashCode()) * this.iX + this.mKeyValueList.hashCode();
  }

  public boolean isObject()
  {
    boolean bool;
    if (this.iW == ObjectData.ExecutorType.OBJECT)
      bool = true;
    ObjectData.ExecutorType localExecutorType1;
    ObjectData.ExecutorType localExecutorType2;
    do
    {
      return bool;
      localExecutorType1 = this.iW;
      localExecutorType2 = ObjectData.ExecutorType.USER;
      bool = false;
    }
    while (localExecutorType1 != localExecutorType2);
    return false;
  }

  public boolean isUser()
  {
    if (this.iW == ObjectData.ExecutorType.OBJECT);
    while (this.iW != ObjectData.ExecutorType.USER)
      return false;
    return true;
  }

  public void setCollectionName(String paramString)
  {
    this.mCollectionName = paramString;
  }

  public void setId(String paramString)
  {
    this.mId = paramString;
  }

  public void setKeyValues(Vector<NameValuePair> paramVector)
  {
    this.mKeyValueList = paramVector;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.caching.ObjectData
 * JD-Core Version:    0.6.2
 */